* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  background-color: #081620;
  color: #333;
}

.container {
  background-color: #fff;
  width: 400px;
  margin: 30px auto;
  border-radius: 5px;
  padding: 30px;
}

.container h1 {
  text-align: center;
  margin-bottom: 30px;
}

.container .form-item {
  margin-bottom: 10px;
}

.container .form-item .txt {
  outline: none;
  border: 1px solid #ccc;
  width: 100%;
  height: 40px;
  border-radius: 5px;
  font-size: 14px;
  padding: 0 10px;
}

.container .form-item .txt:focus {
  border-color: #5f8be8;
}

.container .form-item select.txt {
  padding: 10px;
  height: 100px;
}

.container .form-item textarea.txt {
  height: 100px;
  padding: 10px;
  resize: none;
}

button {
  height: 40px;
  width: 150px;
  border: none;
  outline: none;
  color: #fff;
  background-color: #5f8be8;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #759ae9;
}

button:disabled {
  background-color: #9db7f0;
  cursor: not-allowed;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.form-item.captcha .txt {
  width: 170px;
}

.title {
  margin-right: 10px;
}

/* 行内元素垂直居中 */
.policy {
  font-size: 12px;
  vertical-align: top;
}

label input:checked ~ span {
  color: #333;
}

.txt::placeholder {
  color: #ccc;
}

.txt:focus::placeholder {
  color: #333;
}
